/*
* INSANE - Interactive Structural Analysis Environment
*
* Copyright (C) 2003-2005
* Universidade Federal de Minas Gerais
* Escola de Engenharia
* Departamento de Engenharia de Estruturas
* 
* Author's email :    insane@dees.ufmg.br
* Author's website :  http://www.dees.ufmg.br/insane
* 
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* as published by the Free Software Foundation; either version 2
* of the License, or any later version.
* 
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
* GNU General Public License for more details.
* 
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
*/
package br.ufmg.dees.insane.util;

import java.io.Serializable;

/**
 * Class representing INaturalCoords
 * @author roque
 * @since Jul 25, 2005
 */
public class INaturalCoords implements Serializable{
    
	private static final long serialVersionUID = 1L;

	/**The csi1 natural coordinate.*/
	public double csi1= 0.0;
	
	/**The csi2 natural coordinate.*/
	public double csi2 = 0.0;
	
	/**The csi3 natural coordinate.*/
	public double csi3 = 0.0;
	
	/**The csi4 natural coordinate.*/
	public double csi4 = 0.0;

	/**
     * @return Returns the csi1.
     */
    public double getCsi1() {
        return csi1;
    }
    /**
     * @param csi1 The csi1 to set.
     */
    public void setCsi1(double csi1) {
        this.csi1 = csi1;
    }
    /**
     * @return Returns the csi2.
     */
    public double getCsi2() {
        return csi2;
    }
    /**
     * @param csi2 The csi2 to set.
     */
    public void setCsi2(double csi2) {
        this.csi2 = csi2;
    }
    /**
     * @return Returns the csi3.
     */
    public double getCsi3() {
        return csi3;
    }
    /**
     * @param csi3 The csi3 to set.
     */
    public void setCsi3(double csi3) {
        this.csi3 = csi3;
    }
    /**
     * @return Returns the csi4.
     */
    public double getCsi4() {
        return csi4;
    }
    /**
     * @param csi4 The csi4 to set.
     */
    public void setCsi4(double csi4) {
        this.csi4 = csi4;
    }
    
    /**Returns the natural coords in a double array.*/
    public double[] toDouble(){
        double[] coords = {this.csi1, this.csi2, this.csi3, this.csi4};
        return coords;
    }
}
